package com.easygo.service.impl;

import com.easygo.mapper.AdminMapper;
import com.easygo.service.IAdminService;
import com.xuexi.easygo.pojo.Admin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements IAdminService {

    @Autowired
    AdminMapper adminMapper;
    @Override
    public Admin adminlogin(Admin admin) {
        return adminMapper.adminlogin(admin);
    }
}
